const pkg = require('../../package.json');

// Generate cache key according to version
export function getStorageShortName() {
  return 'development' as string;
  //return `${getCommonStoragePrefix()}${`__${pkg.version}`}__`.toUpperCase();
}

/**
 * @description: Development model
 */
 export const devMode = 'development';

 /**
  * @description: Production mode
  */
 export const prodMode = 'production';
 
 /**
  * @description: Get environment variables
  * @returns:
  * @example:
  */
 export function getEnv(): string {
   return devMode;
 }
 
 /**
  * @description: Is it a development mode
  * @returns:
  * @example:
  */
 export function isDevMode(): boolean {
   return true;
 }
 
 /**
  * @description: Is it a production mode
  * @returns:
  * @example:
  */
 export function isProdMode(): boolean {
   //return import.meta.env.PROD;
   return false;
 }